package com.tms.service;

import com.tms.domain.Mailbox;

/**
 * mailbox业务接口定义
 */
public interface MailboxService {

    /**
     * 根据ID查询
     */
    Mailbox findMailboxById(Integer id);

    /**
     * 创建
     */
    Mailbox createMailbox(Mailbox mailbox);

    /**
     * 根据ID删除
     */
    void deleteMailboxById(Integer id);

    /**
     * 根据ID更新
     */
    Mailbox updateMailboxById(Mailbox mailbox);

}